#ifndef GAME_H
#define GAME_H
#include <irrlicht.h>
#include "Singleton.h"

class World;
class MenuGame;
class MyEventReceivers;
class CameraGame;



using namespace irr;
using namespace video;
using namespace io;
using namespace gui;
using namespace  scene;


class Game
{
public:
	Game(void);
	~Game(void);
	// 
	void init();
	void update();
	void run();
	void destroy();
	static IrrlichtDevice* mDevice;
	static CameraGame* camera;
protected:
	
	video::IVideoDriver* mDriver;
	scene::ISceneManager* mSmgr;
	gui::IGUIEnvironment* mGuienv;
	IGUISkin* mSkin;
	IGUIFont* mFont;
	ICameraSceneNode* mCamera;
	IGUIEnvironment* mEnv;
private: 
	World* mWorld;
	MenuGame* mMenuGame;
};

#endif GAME_H